home *** CD-ROM | disk | FTP | other *** search
/ 3D Images / 3D Images.iso / programs / amiga / rend24 / rend24.doc < prev    next >
Encoding:
Text File  |  1995-01-12  |  44.6 KB  |  1,044 lines

  1. ----------------------------------------------------------------------------
  2.  
  3.  
  4.                 Rend24 - A Batch Image Conversion System
  5.  
  6.                        Written by Thomas Krehbiel
  7.  
  8.                   Copyright © 1991,1992 Thomas Krehbiel
  9.                           All Rights Reserved
  10.  
  11.  
  12. ----------------------------------------------------------------------------
  13.  
  14. NOTE
  15.  
  16.     This documentation assumes a basic familiarity with AmigaDOS and
  17.     the Amiga interface.  If you aren't familiar with the concepts of
  18.     files, directories, gadgets, windows, etc. you should consult your
  19.     "Introduction to the Amiga" manual.  Another excellent source of
  20.     information is your local Amiga users group.
  21.  
  22.  
  23. DISTRIBUTION
  24.  
  25.     Rend24 is being distributed as Shareware.  If you find this program
  26.     useful, please consider sending a donation of $30 or so to the
  27.     author (address given at the end of this document).
  28.  
  29.     There is no longer any difference between the Shareware version
  30.     of Rend24 and the Registered version of Rend24, so you will not
  31.     be getting anything new by sending me a donation.  If you choose
  32.     to send a donation, please state that you already have version
  33.     1.05.
  34.  
  35.     Rend24 may be freely distributed in its original form to any bulletin
  36.     board, network, or through any public domain library collection, so
  37.     long as no fees (beyond reasonable media costs) are charged for such
  38.     distribution.  This product is being distributed "as is", with no
  39.     warranties expressed or implied as to the use or misuse of the
  40.     program.  The author cannot be held responsible for any damages
  41.     resulting from the use of this program.
  42.  
  43.     Note that the 1.05 series will very likely be the final releases.  If
  44.     you find it lacking features, you may want to consider purchasing
  45.     ImageFX from GVP; it includes a batch processor very similar to
  46.     Rend24 (coincidentally :) and a wealth of image manipulation
  47.     features.  I will continue to fix bugs in Rend24 as I get time,
  48.     but major new features will probably not happen.
  49.  
  50.  
  51. OOPS!
  52.  
  53.     Previous versions of the Rend24 documentation left out a very
  54.     important statement:
  55.  
  56.     This software is based in part on the work of the Independant JPEG
  57.     Group.
  58.  
  59.     I'd just like to apologize to the Independant JPEG Group for not
  60.     having included this, they deserve full credit for their work in
  61.     bringing this popular compression format to the computer world at
  62.     large.
  63.  
  64.  
  65. CHANGES IN 1.05a
  66.  
  67.     Fixed a couple of horrendous bugs in the AGA implementation; it
  68.     would crash loading any non 24-bit ILBM file, and second and
  69.     subsequent HAM8 renderings would be basically screwed, preventing
  70.     the rendering of, for example, HAM8 animations.  These are fixed.
  71.  
  72.     Rend24 now defaults to using the small version of Viewtek (included)
  73.     to show pictures and animations, instead of ShowAnim.  Viewtek,
  74.     however, requires Workbench 2.0 to run.  For more details about
  75.     Viewtek, look on a BBS near you for the complete release.  It's
  76.     a cool viewer... :)
  77.  
  78.     A couple problems with loading GIFs were fixed, including the
  79.     problems with loading odd-width images, and crashes on certain
  80.     types of GIFs.
  81.  
  82.     The ASL requester opens a lot taller now.
  83.  
  84.  
  85. CHANGES IN 1.05
  86.  
  87.     AGA support was the biggest priority in this version.  To support the
  88.     new modes and such, a somewhat signficant change had to be made in the
  89.     way that the output format was chosen in the front end.  The one cycle
  90.     gadget was broken into six cycle gadgets... :)
  91.  
  92.     Support for processing frames that do not progress by 1 has been added
  93.     (ie. support for processing every other frame, etc.).
  94.  
  95.     Sorry, 1.05 prefs are not compatible with older versions.  You'll have
  96.     to resave your prefs.
  97.  
  98.  
  99. INTRODUCTION
  100.  
  101.  
  102.     Rend24 was originally written as an excercise in converting
  103.     24-Bit IFF files into displayable resolutions.  At that time,
  104.     I was working with the Toaster's Lightwave 3D often, and without
  105.     the benefit of a single-frame controller, it was somewhat awkward
  106.     getting a displayable animation out of Lightwave.  Lightwave is
  107.     capable of saving each frame it generates as a 24-Bit IFF file;
  108.     hence, an idea was born.
  109.  
  110.     What I needed was a program that would wait around in the
  111.     background while Lightwave generated a frame.  Then, when the
  112.     frame was saved to disk, the program would jump in and convert
  113.     the 24-bit file down to an Amiga-displayable format and pack
  114.     it into an IFF Animation file and return to waiting for the
  115.     next frame.
  116.  
  117.     So I set out to write my own program to do the job.  Along the
  118.     way it has acquired a number of useful features which don't relate
  119.     at all to the original plan.  You can use it to convert GIF
  120.     files to Amiga format.  You can use it to view JPEG files directly.
  121.     You can use it interactively convert VistaPro generated files into
  122.     DCTV animations.  This program does a lot for the money...
  123.  
  124.     Version 1.05 now fully supports the AGA chipset, for rendering to
  125.     the new modes.  It is one of the few programs at this time that
  126.     does.
  127.  
  128.  
  129. CONCEPT
  130.  
  131.     Rend24's purpose is to convert one or more input images into
  132.     individual viewable ILBM images or a single viewable ANIM animation.
  133.     The input images may be 24-bit ILBMs, GIF format images, or even
  134.     JPEG compressed images.  You control the format of the output
  135.     images and/or animations, including the color depth, dithering,
  136.     and size.
  137.  
  138.     Rend24's strength lies in its ability to convert batches of images
  139.     at a time.  You tell Rend24 where to find the input images, how many
  140.     there are, and then sit back and watch it go.
  141.  
  142.  
  143. FEATURES
  144.  
  145.     o Runs under Workbench 1.3, 2.0, and 3.0.
  146.  
  147.     o Generally fast conversion times.
  148.  
  149.     o Supports most standard IFF-ILBM image formats, from 2-color through
  150.       HAM all the way up to 8- and 24-bit.
  151.  
  152.     o Supports reading Compuserve GIF format images directly.
  153.  
  154.     o Supports reading JPEG/JFIF compressed images directly (thanks
  155.       to the Independant JPEG Group).
  156.  
  157.     o Can generate individual pictures or a standard IFF-ANIM Op 5 animation,
  158.       with or without palette locking.
  159.  
  160.     o Supports HAM-E and DCTV format rendering.
  161.  
  162.     o Supports Floyd-Steinberg dithering to increase the number of apparent
  163.       colors.
  164.  
  165.     o Now includes a handy-dandy front-end for CLI-phobes.
  166.  
  167.     o Supports arbitrary scaling of input images.
  168.  
  169.     o Full support of AGA modes (as of 1.05).
  170.  
  171.  
  172. HARDWARE REQUIREMENTS
  173.  
  174.      Rend24 should run on any Amiga with any amount of chip and fast
  175.      memory.  However, due to the nature of 24-bit image manipulation,
  176.      Rend24 can use up quite a bit of memory loading and converting an
  177.      image.  Working with 320x200x24 images I would say you would need
  178.      1Meg minimum.  Working with 768x480x24 images you will probably
  179.      need at least 3Meg of free memory.  Rend24 always uses fast memory
  180.      except for the memory to open the display screen, so chip memory
  181.      should not be a problem.
  182.  
  183.      Rend24 is fully Workbench 2.0 compatible (as of the time of this
  184.      writing, at least).  In fact, it takes advantage of a couple of
  185.      features in 2.0 which make Amiga mode conversion times a tad
  186.      faster.
  187.  
  188.      As of version 1.05, Rend24 also excels under Workbench 3.0.
  189.  
  190.  
  191. INSTALLATION
  192.  
  193.     Rend24 is fairly easy to install.  Simply drag the program icon
  194.     to wherever you would like it to reside.  It doesn't have to be
  195.     in your C: directory (although if you plan to use the program
  196.     from CLI you might want to put it in your command path somewhere).
  197.  
  198.     Certain features of Rend24 require some libraries to be installed
  199.     in your LIBS: directory.  There should be an installation program
  200.     accompanying the main program, which will guide you through
  201.     installing the libraries.  The libraries are:
  202.  
  203.         hame.library        Required for generating HAM-E images.
  204.  
  205.         dctv.library        Required for generating DCTV images.
  206.  
  207.         arp.library         Required under version 1.3 of the
  208.                             operating system to have a file
  209.                             requester available in the front end.
  210.  
  211.     That's it!  That wasn't so hard, was it? :)
  212.  
  213.     An INSTALL script should be included to automate the installation
  214.     process for you.
  215.  
  216.  
  217. RUNNING THE PROGRAM FROM WORKBENCH
  218.  
  219.     Couldn't be easier... simply double click the Rend24 icon and
  220.     in a few seconds a window will appear on your Workbench with
  221.     a whole bunch of gadgets in it.  This is what I call the "Front End"
  222.     window, and is where you tell Rend24 what you want to do in a
  223.     (hopefully) convienient manner.
  224.  
  225.  
  226.     Source Image Pattern
  227.  
  228.         This is where you enter input file(s).  Click in the string gadget
  229.         and just type the full pathname of image you want to convert.
  230.         Or, you can click on the Choose gadget to the right to open a
  231.         file requester where you can choose the input image.
  232.  
  233.         You can specify a standard wildcard pattern for the source image,
  234.         to convert more than one at a time.  The pattern is the same
  235.         used by standard AmigaDOS commands (#?)... you may also use
  236.         the Unix-style '*' character as a wildcard.  So if you specify
  237.         "DollFace*.pic" as the source image pattern, then all files
  238.         matching that pattern will be converted.
  239.  
  240.         If you are using the Frame Count gadget (see below), then enter
  241.         only the filename "base" without any numbered extensions.
  242.  
  243.         ** NOTE **  Be sure you press RETURN after entering text into
  244.         the string gadget, or Rend24 will not accept it.
  245.  
  246.  
  247.     Source Frame Count
  248.  
  249.         This is used when you are converting a series of frames output
  250.         by, for example, Lightwave or VistaPro.  It expects the source
  251.         image filenames to be in the format "Picture001", "Picture002",
  252.         "Picture003", etc.  You enter the base name of the files (eg.
  253.         what you entered in Lightwave or VistaPro for the file prefixes;
  254.         do NOT include the numbers afterward!) into the Source Image
  255.         Pattern gadget, and then enter the number of frames you want to
  256.         convert in the Source Frame Count gadget.
  257.  
  258.  
  259.     Start
  260.  
  261.         You can use this gadget to enter a different starting frame
  262.         number when converting a series of frames (using the Frame
  263.         Count gadget above).  Normally, Rend24 will start at frame
  264.         1, but there may be occasions when you would need to start
  265.         somewhere else (when generating only a portion of an
  266.         animation, for instance).
  267.  
  268.  
  269.     Skip
  270.  
  271.         This number is the number of frames to skip when processing
  272.         a numbered sequence of frames.  For example, a value of 1
  273.         will process every frame, a value of 2 will process every
  274.         other frame, etc.
  275.  
  276.  
  277.     Dest Picture Pattern:
  278.  
  279.         If you want to generate individual IFF-ILBM pictures, you
  280.         enter the full pathname of the output file here.  You can also
  281.         click on the Choose gadget to the right to bring up a file
  282.         requester to make you selection easier.
  283.  
  284.         If you are converting more than one input file, you will probably
  285.         want to specify a pattern for the output pictures.  The pattern
  286.         is just like a standard pathname, except there should be a single
  287.         '*' character in the path somewhere.  For each file converted,
  288.         the '*' character will be replaced with the name of the input
  289.         image currently being converted, minus any extensions.  So if
  290.         the current input image is "DollFace.pic" and your output pattern
  291.         is "mydrive:*.ham" then the output filename for "Dollface.pic"
  292.         will by "mydrive:Dollface.ham".
  293.  
  294.         Note that you do not *have* to specify any outputs at all; if you
  295.         don't then each input file will simply be rendered and viewed.
  296.         This can be used as a simple (but effective) deep color image
  297.         viewer for stock Amigas.
  298.  
  299.  
  300.     Dest Animation:
  301.  
  302.         If you want to create an animation file, then enter the full
  303.         pathname of the destination animation file here.  Once again,
  304.         you can click on the Choose gadget to bring up a file requester.
  305.         All files converted will be packed into this animation file.
  306.  
  307.         Note that you cannot append to an existing animation file; you
  308.         can only create an animation from the conversions done in a
  309.         single Rend24 session.  So to create an animation you need to
  310.         either use an input pattern or specify a frame count.  Otherwise
  311.         the animation will only have one frame in it.
  312.  
  313.         Note that you do not *have* to specify any outputs at all; if you
  314.         don't then each input file will simply be rendered and viewed.
  315.         This can be used as a simple (but effective) deep color image
  316.         viewer for stock Amigas.
  317.  
  318.  
  319.     Device:
  320.  
  321.         Allows you to select the output display device for the rendered
  322.         images.  You can choose from a standard Amiga display, DCTV
  323.         display (in either 3 or 4 bitplanes), or HAM-E display (Register
  324.         or HAM mode).
  325.  
  326.     Format:
  327.  
  328.         Color format selection.  Choices are "Luma", for NTSC luminence
  329.         conversion, "Grey", for an average greyscale conversion, "Color",
  330.         for a standard register mode color image, "HAM", for a 6-bitplane
  331.         HAM image (4096 colors), and "HAM8", for an 8-bitplane HAM8 image
  332.         (262,000 colors).  HAM8 will only function on an Amiga equipped
  333.         with the AGA chipset.
  334.  
  335.     Mntr:
  336.  
  337.         Amiga Output Monitor selection.  "Monitors" are used under
  338.         Workbench 2.0 or later for varying display formats.  Rend24 gives
  339.         you the choices of Default, NTSC, DBLNTSC, PAL, DBLPAL, VGA, and
  340.         Super72.  In most cases you will want to use Default.
  341.  
  342.                 Default         User's preferred monitor setting.
  343.                 NTSC            Force NTSC.
  344.                 DBLNTSC         Force scan-doubled NTSC (AGA only).
  345.                 PAL             Force PAL.
  346.                 DBLPAL          Force scan-doubled PAL (AGA only).
  347.                 VGA             VGA modes (Productivity, etc.).
  348.                 Super72         Super72 mode (eg. 800x600).
  349.  
  350.     Col:
  351.  
  352.         Selection for the number of colors in Amiga rendered images (HAM-E
  353.         and DCTV images always use a fixed number of colors).  Choices are
  354.         "Max", and 2 through 256 colors.  Selecting "Max" will always
  355.         render the maximum amount of colors available to the mode you have
  356.         chosen.  Certain combinations of modes and colors may not work
  357.         without an AGA-equipped Amiga (eg. 256-color Super72).  HAM modes
  358.         always used a fixed number of colors (16 or 64).
  359.  
  360.     Hor:
  361.  
  362.         Amiga Horizontal resolution selection.  Choices are "Lores",
  363.         "Hires", and "Super Hires".  This affects the size of the pixels
  364.         in the horizontal direction.
  365.  
  366.     Ver:
  367.  
  368.         Amiga Vertical resolution selection.  Choices are "No Lace" and
  369.         "Lace".  This affects the size of the pixels in the vertical
  370.         direction.
  371.  
  372.     Auto Mode:
  373.  
  374.         When selected, Rend24 will attempt to determine the proper
  375.         screen mode to use for each picture it loads.  This is the way
  376.         that Rend24 always used to work.  Otherwise, the screen mode
  377.         selected with the above gadgets will be used for each picture.
  378.  
  379.         Auto Mode always uses the Default monitor, so if you need to
  380.         render to Super72 or VGA you cannot use Auto Mode.
  381.  
  382.     High Quality:
  383.  
  384.         This gadget only has meaning for DCTV and HAM-E rendering
  385.         formats.  For DCTV images, if High Quality is checked then
  386.         Rend24 will use 4 bitplanes instead of 3.  For HAM-E images,
  387.         if High Quality is checked then Rend24 will generate a
  388.         palette with a higher degree of accuracy, which can take
  389.         significantly longer.
  390.  
  391.     Run "Convert":
  392.  
  393.         If checked, then Rend24 will attempt to run Black Belt Systems'
  394.         "Convert" program on each input file.  This can be used to
  395.         convert foreign file types to standard IFF24 for use with
  396.         Rend24.  You will probably not need to use this very often, if
  397.         ever.
  398.  
  399.     Lock Palette:
  400.  
  401.         When checked, this will keep the palette the same across multiple
  402.         conversions.  That is, it will generate a palette for the first
  403.         frame only, and then use that same palette for all subsequent
  404.         frames.  This is most useful for HAM-E animations and for creating
  405.         animations for, say, DPaint (which doesn't support different
  406.         palettes for different frames).
  407.  
  408.     Ordered Dither:
  409.  
  410.         When generating greyscale images, you now have the option of
  411.         selecting an ordered dither pattern.  Ordered dithers are very
  412.         useful for creating animations, both for speed of playback and
  413.         for reducing the size of the animation.  Selecting ordered
  414.         dither for color images does nothing.
  415.  
  416.     F/S Dither:
  417.  
  418.         This enables the Floyd-Steinberg dithering algorithm, which can
  419.         increase the number of apparent colors in an image.  It generally
  420.         does not work too well for HAM images, though, and in all cases
  421.         increases the amount of time it takes to convert each image.
  422.         For animations, this can also significantly increase the number
  423.         of changes between frames, causing the animation to play slower
  424.         and consume huge amounts of memory.
  425.  
  426.     Double Width:
  427.  
  428.         When selected, Rend24 will double the width of any images that
  429.         are smaller than 384 pixels wide.  This was added for rendering
  430.         HAM-size images into DCTV format without squishing the image
  431.         horizontally.  When rendering to DCTV, you probably want to
  432.         leave this checked.
  433.  
  434.     Halve Width:
  435.  
  436.         When this is checked, Rend24 will halve the width of any images that
  437.         are larger than 384 pixels wide.  This is handy when converting
  438.         hires 768x480 images into HAM images.
  439.  
  440.     Halve Height:
  441.  
  442.         When checked, Rend24 will halve the height of any images that are
  443.         larger than 240 pixels tall.  Handy for converting what would
  444.         normally be an interlace image into non-interlace.
  445.  
  446.     Rotate 90 Degrees:
  447.  
  448.         This will rotate each input image 90 degrees counter-clockwise.
  449.         Handy for reading images saved by ASDG's ScanLab, which for some
  450.         reason only saves images in portrait mode.
  451.  
  452.     NTSC Limit:
  453.  
  454.         When checked, this will reduce the brightness of each input image
  455.         to fit into NTSC limits.  Note that my implementation is a VERY
  456.         simple algorithm, and may not be what you want.
  457.  
  458.     Delete Source's:
  459.  
  460.         When checked, Rend24 will delete each input 24-bit image after
  461.         it has been converted.  This is most handy when converting frames
  462.         from, for example, Lightwave or VistaPro as they generate the
  463.         images.  It will reduce the amount of hard drive space you need
  464.         free while converting.  However, it also eliminates the possibility
  465.         of redoing the conversion since the source images will be gone.
  466.         So be careful with this one.  I recommend leaving this off (unless
  467.         you are really pressed for hard drive space) and delete the source
  468.         images only after you are satisfied with the results of Rend24.
  469.  
  470.     Hide Conversion:
  471.  
  472.         When checked, Rend24 will not show you images as they are being
  473.         converted.  For 16-color Hires images, this can significantly
  474.         speed up the conversion process.  It's also handy if you don't
  475.         want to be annoyed by a bunch of screens popping to the front
  476.         all the time.
  477.  
  478.     Don't Pause:
  479.  
  480.         Normally, Rend24 will pause after each image is converted and
  481.         wait for a mouse click.  When this option is enabled, it will
  482.         go into "batch" mode and perform all of its conversions without
  483.         user involvement.  For converting animations, you will probably
  484.         want to check this item.
  485.  
  486.     Wait for Source's:
  487.  
  488.         When checked, Rend24 will sit in a loop waiting for each input
  489.         file to appear.  This is especially useful for converting frames
  490.         produced by Lightwave as the frames are generated.
  491.  
  492.     Ping-Pong Anim:
  493.  
  494.         When generating an animation from a numbered series of frames
  495.         (ie. when you have a number other than zero in the Frame Count
  496.         gadget), this will cause Rend24 to create the animation such
  497.         that it will ping-pong when played back.  It does this by
  498.         duplicating all the frames in descending order after processing
  499.         all the frames normally.  Thus, it takes about twice as long
  500.         to do this and the animation will be about twice as big.
  501.         Also, since it requires all the frames in order to step backwards
  502.         through them, make sure you don't delete the frames.
  503.  
  504.     No Loop Frames:
  505.  
  506.         Normally, Rend24 will append two "looping" frames to the end
  507.         of any animation it creates.  Turning this option on will
  508.         keep Rend24 from doing this.
  509.  
  510.     X: Y:
  511.  
  512.         These two gadgets let you perform arbitrary scaling on source
  513.         images.  Enter the width and height of the resulting images you
  514.         want in the X and Y gadget respectively, and Rend24 will scale
  515.         the source images to this size, regardless of the original
  516.         image size.  Thus if you enter 160 and 100 into these gadgets
  517.         then all resulting files will be 160x100 images/animations.
  518.         Enter 0 and 0 to turn off the arbitrary scaling.
  519.  
  520.     Begin Conversion
  521.  
  522.         Click this when you have everything setup the way you want it
  523.         to let Rend24 start working.
  524.  
  525.     Quit
  526.  
  527.         Click this or the window close gadget to quit Rend24.
  528.  
  529.  
  530.  
  531.     The front-end also has a few menus.  They are described below:
  532.  
  533.     Save Settings (Right Amiga-S)
  534.  
  535.         This will save all your current front-end settings to
  536.         a file in your S: directory.  After you have things setup
  537.         the way you want them, you might want to save the settings
  538.         so you don't have to re-setup each time you run Rend24.
  539.  
  540.     Default Source Directory...
  541.  
  542.         Lets you choose the directory where input images come from
  543.         by default.  This is the directory that first comes up
  544.         when you click the Choose gadget next to Source Image
  545.         Pattern.
  546.  
  547.     Default Destination Directory...
  548.  
  549.         Lets you choose the directory where images are saved to
  550.         by default.  This is the directory that first comes up
  551.         when you click the Choose gadget next to Dest Image
  552.         Pattern.
  553.  
  554.     Default Animation Directory...
  555.  
  556.         Lets you choose the directory where animations are saved
  557.         by default.  This is the directory that first comes up
  558.         when you click the Choose gadget next to Dest Animation.
  559.  
  560.  
  561.     Show Animation... (Right Amiga-A)
  562.  
  563.         This is a simple way to show an animation created by
  564.         Rend24.  It brings up a file requester from which you
  565.         can choose an animation file to play (it defaults to
  566.         the animation file displayed in the Output Animation
  567.         gadget).
  568.  
  569.         Rend24 defaults to using the program VTs
  570.         to display the animation, but this may be changed by
  571.         editing the "s:Rend24_105.prefs" file.  The second
  572.         line is the template that Rend24 uses to show the
  573.         animation; where a %s appears in this line will be
  574.         replaced with the filename selected by the user.  Enter
  575.         a line that you would normally type in the CLI here
  576.         to change the animation viewer that Rend24 uses.
  577.  
  578.         For example, if you wanted to use ShowAnim for showing
  579.         animations, you could change the line to:
  580.  
  581.             ShowAnim "%s"
  582.  
  583.  
  584.     Show Image... (Right Amiga-P)
  585.  
  586.         This is a simple way to show an image possibly created
  587.         by Rend24.  It brings up a file requester from which
  588.         you can choose an image file to display.
  589.  
  590.         Rend24 defaults to using the program VTs to display
  591.         pictures, but this may be changed by editing the
  592.         "s:Rend24_105.prefs" file.  The third line is the template
  593.         that Rend24 uses to show the image files; see above for
  594.         details.
  595.  
  596.  
  597. RUNNING THE PROGRAM FROM CLI
  598.  
  599.     Is a bit more complicated.
  600.  
  601.     Useage from CLI is as follows:
  602.  
  603.         1> Rend24 [options] <input_file> [input_file] ...
  604.  
  605.     The input file(s) must follow the options.  You may specify more
  606.     than one input file on the command line, and each input file may
  607.     contains wildcard characters (standard AmigaDos patterns).
  608.  
  609.     Options consist of a dash (-) followed by a single (case-sensitive!)
  610.     letter.  You may specify more than one option letter after a
  611.     single dash, except options that require an argument; they must be
  612.     separate.  Following is a list of all options currently supported
  613.     in Rend24:
  614.  
  615.         -D          Generate DCTV format images (note that CAPITAL D).
  616.                     Requires dctv.library.
  617.         -6          High Quality ("6-bit") HAM-E mode.
  618.         -aFILE      Pack output files into the given animation file "FILE".
  619.         -CNUM       Bitplanes to render in output images (1-8).
  620.         -c          Call Black Belt's Convert for each input file.  The
  621.                      Convert program must be in your current command
  622.                      path somewhere (ie. your C: directory).
  623.         -d          Enable Floyd-Steinberg dithering.
  624.         -e          Generate HAM-E format images.  Requires hame.library.
  625.         -fNUM       Convert "NUM" input frames.
  626.         -g          Generate greyscale (average) images.
  627.         -H          Use a special ordered dither pattern for greyscale images.
  628.                      This is very handy when generating animations, as the
  629.                      anim size will come out smaller than one generated
  630.                      with Floyd-Steinberg dithering.
  631.         -h          Generate HAM images.
  632.         -L          Do not add looping frames to animations.
  633.         -l          Generate lumascale (luminence) images.
  634.         -NSCREEN    Open Rend24 on the given named public screen (2.0 only).
  635.         -n          Do not pause after converting each image.
  636.         -o[PATTERN] Specify individual output image pattern.  If PATTERN
  637.                      is not given (ie. -o by itself) then each file will
  638.                      be saved to the same directory as the source image
  639.                      with a representative extension.
  640.         -P          Generate a ping-pong animation.
  641.         -p[FILE]    Palette locking.  If "FILE" exists, then a palette
  642.                      is read from it.  If "FILE" does not exist, then
  643.                      the generated palette is saved to it.
  644.         -r          Delete (remove) input files after converting.
  645.         -SNUM       Starting frame number, defaults to 1.
  646.         -s          Only generate palette, do not actually render an image.
  647.         -t          Enable NTSC limiting.
  648.         -v          Hide conversion process.
  649.         -w          Wait for input images to appear.
  650.         -X          Double the width of input images.
  651.         -x[WIDTH]   Scale width by half, or to the given pixel width.
  652.         -y[HEIGHT]  Scale height by half, or to the given pixel height.
  653.         -z          Rotate image 90 degrees counter-clockwise.
  654.  
  655.  
  656.     Note that you do not *have* to specify any outputs at all; if you
  657.     don't then each input file will simply be rendered and viewed.
  658.     This can be used as a simple (but effective) deep color image
  659.     viewer for stock Amigas.
  660.  
  661.     The arbitrary scaling (-xN and -yN) does not anti-alias (or
  662.     interpolate).  It is meant to be fast.
  663.  
  664.     Rend24 writes standard ILBM palette files that can be read by
  665.     DPaint.  It will also read a standard ILBM palette file.  Thus
  666.     you can save your favorite palette from DPaint and have Rend24
  667.     render all its images using that same palette.
  668.  
  669.     It is not possible to select display modes from CLI.  You must
  670.     use the front end for this.  In other words, from CLI, Rend24
  671.     always assumes the "Auto Mode" option.
  672.  
  673.  
  674. FILE FORMATS
  675.  
  676.     Rend24 will load most all types of IFF-ILBM images, including
  677.     8- and 24-bit images and standard Amiga resolutions.  The only
  678.     things I know of that it doesn't load are SHAM, Dynamic HAM, and
  679.     Dynamic Hires images.  It should handle images with mask planes.
  680.  
  681.     It will also load Compuserve GIF format images.  It will handle
  682.     interlaced and non-interlaced formats.  For multiple-frame
  683.     GIF's, it will just load the first frame.
  684.  
  685.     And it will also read JPEG images stored in the standard JFIF
  686.     file format (the format used by all Amiga JPEG implementations that
  687.     I know of).
  688.  
  689.     Rend24 reads and write standard IFF-ILBM palette files (ie. a
  690.     BMHD and CMAP, no BODY).
  691.  
  692.     Rend24 writes images in standard IFF-ILBM format suitable for
  693.     viewing with any standard picture viewer, and writes
  694.     animations in standard IFF-ANIM Op 5 format.  It automatically
  695.     creates "looping" frames on the end of any animation it generates,
  696.     unless turned off with No Loop Frames option.
  697.  
  698.  
  699. QUIRKS
  700.  
  701.     Rend24 does not handle "odd" sized images very well (images whose
  702.     width is not a multiple of 8).  All of the 'standard' images sizes
  703.     should work fine.
  704.  
  705.     Since Rend24 uses hame.library for opening and maintaining HAM-E
  706.     screens (it does NOT use renderhame.library!), Rend24 is subject
  707.     to that library's limitations.  The version of hame.library that
  708.     I have does not like to open screens of odd sizes, so you may
  709.     have to scale your images to a "regular" size to get it to work
  710.     right (320x200 or 320x400, with/without overscan).
  711.  
  712.     Rend24 relies completely on dctv.library for generating DCTV format
  713.     images, so if there are problems with DCTV renderings, it is more
  714.     than likely the fault of dctv.library.
  715.  
  716.  
  717. EXAMPLES
  718.  
  719.     What you've all been waiting for...
  720.  
  721.     These examples assume you are using the front-end.  You'll have to
  722.     interpret a bit if you are using the CLI interface.
  723.  
  724.     Example #1 - Lightwave
  725.     ~~~~~~~~~~~~~~~~~~~~~~
  726.     (Note:  This is based on memory as I don't happen to have a Toaster
  727.     sitting in front of me.  I haven't seen much of Toaster 2.0 either,
  728.     so this could be completely obsolete.)
  729.  
  730.     Suppose you want to convert a 30 frame animation generated with
  731.     Lightwave into a standard Amiga animation.  You might want to do
  732.     this if you A) want to see a color preview of your animation before
  733.     single-framing to tape to save wear and tear on your recorder, or
  734.     B) don't *have* a single-frame recorder.
  735.  
  736.     We will call the animation scene "DollFace".
  737.  
  738.     1.  Go into Lightwave and create a killer 30 frame animation,
  739.         ready for rendering in 768x480 mode.
  740.  
  741.     2.  Go into the "Record" menu, and choose the "Save Images" gadget.
  742.         Save Images will save each frame generated on disk as a standard
  743.         IFF-ILBM file - perfect for Rend24.  Do NOT choose "Save Frames",
  744.         as this saves in FrameStore format which Rend24 cannot read.
  745.         You will be presented with a file requester from which you choose
  746.         the image prefix for the frames generated.  For this example, we
  747.         will choose a prefix of "DollFace" - pick a convenient directory
  748.         (we'll use "Images" in this example) and enter "DollFace" into
  749.         the file gadget.  Each frame generated will now be called
  750.         "DollFaceNNN", where the "NNN" will be replaced with the number
  751.         of the frame.  (Ie. DollFace001, DollFace002, etc.).
  752.  
  753.     3.  Now pop back to Workbench (Left Amiga N) and run Rend24.  When
  754.         the front-end window appears, open the file requester to enter
  755.         a source image pattern (by clicking the Choose gadget next to
  756.         the Source Image Pattern gadget).  Pick the same directory you
  757.         entered in Lightwave ("Images" in our example), and also enter
  758.         the exact same image prefix you entered in Lightwave ("DollFace"
  759.         in our example, without any trailing numbers).  So the result
  760.         in the Source Image Pattern gadget should look something like
  761.         "DH3:Toaster/3D/Images/DollFace".
  762.  
  763.     4.  Since the animation will be 30 frames, enter the number 30 into
  764.         the Source Frame Count gadget.  This tells Rend24 to append
  765.         001 - 030 to the source image pattern given above to get the
  766.         name of each file to load, exactly like Lightwave does.  Choose
  767.         a starting frame number of 1.
  768.  
  769.     5.  Now choose the filename of your destination animation.  For
  770.         our example, we will simply save it to RAM:.  You may, however,
  771.         want to save the result to somewhere on your hard drive.
  772.         Open the file requester (by clicking on Choose next to the
  773.         Dest Animation gadget), and enter your output filename.  For
  774.         our example, we'll use "RAM:DollFace.anim".
  775.  
  776.     6.  Now decide on your animation image format.  In this example,
  777.         we'll keep things simple and just render to Amiga HAM mode.
  778.         Click the Image Format cycler gagdet until it reads "HAM Image".
  779.         We will also use the default maximum number of colors, so we
  780.         leave the # gadget at 0.
  781.  
  782.     7.  Decide on your conversion options.  If you plan to be loading
  783.         this animation into DPaint, you should choose the "Lock Palette"
  784.         option to keep the palette the same for all frames.  A HAM image
  785.         needs to be lores (< 384 pixels wide) so we need to turn on the
  786.         "Halve Width" option to reduce the width of Lightwave's hires
  787.         images down to lores.  If you don't want interlace images
  788.         (desirable to make the animation run faster and reduce conversion
  789.         times), click on the "Halve Height" button as well.  If you want
  790.         to delete the files that Lightwave generates from disk as Rend24
  791.         finishes converting them, choose the "Delete Source's" checkbox.
  792.         This will save a lot of hard drive space, but make it impossible
  793.         to redo the conversion process if something goes wrong.  If you
  794.         don't want Rend24 to show each frame as it's converting (probably
  795.         desirable in this case), check the "Hide Conversion" gadget.  You
  796.         will definitely want to check the "Don't Pause" gadget to make
  797.         Rend24 not wait for a mouse click after each frame is converted.
  798.         And you DEFINITELY want to check the "Wait for Source's" gadget
  799.         as this will make Rend24 sit around in the background waiting
  800.         for Lightwave to generate each frame.
  801.  
  802.     8.  Now that everything is setup, click the "Begin Conversion" gadget
  803.         in Rend24.  It will open it's status window and say that it is
  804.         waiting for "DollFace001".
  805.  
  806.     9.  Now pop back to Lightwave (Left Amiga M) and tell it to begin
  807.         rendering.  As Lightwave finishes rendering each frame, Rend24
  808.         will kick in, convert the image to HAM, pack it into the
  809.         destination animation, and then go back to sleep waiting for
  810.         the next frame.  When all the frames are finished, Rend24 will
  811.         build looping frames on the end of the animation, and you will
  812.         have a completed animation file ready for playing
  813.         ("RAM:DollFace.anim" in our example).  At this point you may
  814.         use the "Show Animation..." menu item to view the animation
  815.         immediately, or you may load the animation into (for example)
  816.         Deluxe Paint for further editing.
  817.  
  818.  
  819.  
  820. THE AUTHOR AND ACKS
  821.  
  822.      I can be reached at the following U.S. Mail address:
  823.  
  824.           Thomas Krehbiel
  825.           10747 Surry Road
  826.           Chester, VA  23831
  827.  
  828.      This is where you want to send your donations (cash, check,
  829.      or money order; U.S. funds please).
  830.  
  831.      If you have a modem and don't mind calling long-distance, I can
  832.      also be reached on the Late Nite Amiga BBS (804-262-9944) as Tom
  833.      Krehbiel (user #13).  Note that in older versions of Rend24
  834.      documentation I got the Late Nite phone number wrong (oops).
  835.      The latest distributable version of Rend24 can always be found
  836.      on Late Nite, as well.
  837.  
  838.      I can also be reached on BIX as "tkrehbiel".  BIX is now connected
  839.      to Internet, so my Internet address is "tkrehbiel@bix.com".
  840.  
  841.      BTW, I much prefer E-mail to regular mail... and I really don't
  842.      have the time to give phone support (sorry!).  If you do manage
  843.      to find my phone number, be warned that I am VERY hard to reach.
  844.  
  845.      Thanks to the following people for helping to make this program
  846.      like you now see it:
  847.  
  848.           Kermit Woodall . . . . .  Promotion/Research/Testing
  849.           Mike Vunck . . . . . . . . . . . . Promotion/Testing
  850.           Bob Fisher . . . . . . . . . . . . . . . . . Testing
  851.           Stuart Ragland . . . . . . . . . . . . . . . Testing
  852.  
  853.           (And everyone else in the Late Nite Developer sub.)
  854.  
  855.      Thanks to Mike Vunck for the spiffy icon!
  856.  
  857.      The JPEG decoder was originally written by the Independant JPEG
  858.      Group, headed by Tom Lane.  These guys deserve a great deal of
  859.      credit for bringing the somewhat convoluted JPEG compression
  860.      format to the computer world at large.
  861.  
  862.  
  863. REVISION HISTORY (for the curious)
  864.  
  865.      1.05a     Fixed crashes loading non-24-bit ILBM's under 3.0 (oops).
  866.      Release   ASL requester opens a lot taller.
  867.      2/2/92    Now defaults to using VT_Small (included) instead of ShowAnim.
  868.                Fixed second and subsequent HAM8 renderings.
  869.                HAM and HAM8 palettes save only 16/64 colors again in CMAP.
  870.                Fixed "problems" with loading odd-width GIF images.
  871.                Fixed crashes when loading certain types of GIFs.
  872.                Shows size of GIF as it's loading.
  873.                When rendering to HAM, if Scale Width is on, it always scales, regardless of width.
  874.                Fixes problem of cutting HAM-E pictures in half (oops).
  875.                Fixed problems of not saving CMAPs in each ANIM frame.
  876.  
  877.      1.05      Complete AGA (A1200/A4000) support.
  878.      Release   New options to support rendering to most any mode.
  879.      12/10/92  "New look" menus in the front end.
  880.  
  881.      1.04i     Rendered Amiga screens are now autoscrollable (V36+).
  882.      Release   Added an ordered dither option for greyscale images.
  883.      9/13/92   Fixed major bug in handling large size images (>768w).
  884.                Fixed fairly harmless Enforcer hit on program startup.
  885.                Added untested support for AGA modes (HAM8, etc.).
  886.                Fixed bug that caused ANIM compression to crash sometimes.
  887.  
  888.      1.04h     Added utility menu to show pictures, animations.
  889.      Release   New and improved overscan calculation (V36+).
  890.      7/8/92    Can now open front end/status on public screens (V36+).
  891.                Fixed some bugs in the GIF loading code.
  892.  
  893.      1.04g     Now handles any number of digits in frame number extensions.
  894.      Beta      Can render images with arbitrary number of colors (bitplanes).
  895.      6/30/92   Can now start generating from frames other than 1.
  896.                Now handles non-8 point system fonts in status window.
  897.  
  898.      1.04f     Added Double Width option for DCTV fanatics.
  899.      Release   Added option to make Ping-Pong animation from numbered frames.
  900.      3/14/92   Added option to not tack on looping frames to animations.
  901.                Revised front-end to include new options.
  902.  
  903.      1.04e     Pads odd length DLTA chunks for !#$!@#$ buggy DPaint.
  904.      Beta      Fixed CMAP chunk lengths for (once again) DPaint.
  905.      3/8/92
  906.  
  907.      1.04d     Will now load GIF images directly.
  908.      Beta      Will now load JPEG images directly (if somewhat slowly).
  909.      2/28/92   Now returns to front end after Aborting an operation.
  910.                New documentation!  Better?  Good question...
  911.                No longer detaches from CLI for better script handling.
  912.  
  913.      1.04c     Clicking Close gadget while waiting no longer exits.
  914.      Beta      Refreshes screen properly under 2.0 after a Zoom.
  915.      11/15/91  Can scale images to any arbitrary width and height.
  916.                Now reads and writes standard IFF ILBM palette files.
  917.                Fixed an occasional massive crashing bug in ILBM saving.
  918.                Fixed scaling settings being "forgotten" over multiple files.
  919.  
  920.      1.04b     Now detaches from the CLI; don't have to Run it anymore.
  921.      Beta      No longer opens a console when run from Workbench.
  922.      11/10/91  Closes front-end window while doing conversions.
  923.                A nifty iconify feature added for Workbench 2.04.
  924.  
  925.      1.04a     Fixed a couple of bugs in animation creation.
  926.      Beta
  927.      11/9/91
  928.  
  929.      1.04      Now includes a built-in Front End, runnable from Workbench.
  930.      Beta      (Drumroll, please)... now generates DCTV images!
  931.      11/7/91
  932.  
  933.      1.03      Compiled with the SAS/C Global Optimizer.
  934.      Reg Only  Now includes a version compiled for 68020/68030 machines.
  935.      10/22/91  Now loads standard IFF images and converts to 24-bit.
  936.                Fixed some Enforcer hits and "free non-tracked" messages.
  937.                Can now click on Rendered screen to continue.
  938.  
  939.      1.02      Now handles odd width images correctly (I hope).
  940.      Release   Fixed numerous Enforcer hits during loading (oops).
  941.      7/11/91
  942.  
  943.      1.01      Fixed a bug in IFF24 loader code.
  944.      Release   Fixed bug in the WaitFor routines.
  945.      6/3/91    Now loads ADPro 8-bit greyscale images.
  946.  
  947.      1.00      First public release.
  948.      Release   Now includes `RendFE.rexx' front-end program.
  949.      5/18/91   Fixed trying to add loop frames to non-existant ANIMs.
  950.  
  951.      0.18      No longer clobbers numeric filename extensions.
  952.      Beta      Recognizes ^C again to abort for compatibility.
  953.      5/16/91   Added dither "threshold" control for Color renders.
  954.  
  955.      0.17      Fixed scaling "forgetfulness" over multiple files.
  956.      Beta      HAM rendering significantly faster.
  957.      5/14/91   Better overscan display (I hope).
  958.                Nice little output window with status bar.
  959.                Loop frames now tacked onto end of animations created.
  960.                Added 90 degree counter-clockwise rotation option `-z'.
  961.  
  962.      0.16      Recompiled with SAS/C 5.10.
  963.      Alpha     Now requires `hame.library' for HAM-E rendering.
  964.      5/8/91    Much faster IFF24 loading; as fast as ADPro now.
  965.                Wildcarding rewritten; requires Arp under 1.3.
  966.                Added `-t' for NTSC Limiting.
  967.                Beginnings of better documentation.
  968.                Generally faster rendering times, especially greyscale.
  969.                Can now scale image height in half with `-y' option.
  970.                Scaling now a seperate operation from the rendering.
  971.                Significantly faster rendering under 2.0.
  972.                Loader will handle anywhere from 9- to 24-bit images.
  973.  
  974.      0.15      Palette save/load now functional.
  975.      Alpha     Fixed memory leak in ANIM compression.
  976.      4/9/91
  977.  
  978.      0.14      Fixed Hame reg mode color wrongness.
  979.      Alpha     Now overscans picture under 1.3, too.
  980.      4/5/91    Now alphabetizes wildcarded input files.
  981.  
  982.      0.13      Color palette selection rewritten.  Less redundancy.
  983.      Alpha     Now takes scaling into account when building histogram.
  984.      4/5/91    Histogram (unfortunately) noticeably slower.
  985.                But palette selection is faster and uses less memory.
  986.                Fixed left-edge-HAM-fringe-in-non-dithered problem.
  987.                Definitely a speed decrease here.
  988.  
  989.      0.12      Fixed phantom palette load/save problem.
  990.      Alpha     I think I fixed the death on out of memory during load.
  991.      4/2/91    Fixed small memory leak problem.
  992.                Pads width of input images to a byte boundary.
  993.                Slight speed increase in non-HAM, especially dithered.
  994.  
  995.      0.11      Fixed bug in -hx mode.
  996.      Alpha     New `-a' animation packer option.
  997.      3/30/91   New `-f' for specifying Lightwave frames.
  998.                New palette locking method with `-p' option.
  999.  
  1000.      0.10      Added `@' input script file option.
  1001.      Alpha     Now overscans Hame cookie and palette lines if it can.
  1002.      3/27/91   Added `-w' to wait for input files to appear.
  1003.                Added `-r' option to remove input files when done.
  1004.                Hides screen while saving for those of us with 2090's.
  1005.  
  1006.      0.09      Grey24, Color24, and Ham24 consolidated into Render24.
  1007.      Alpha     Command line options changed somewhat.
  1008.      3/26/91   Better output file pattern parsing (eg: -oPics/*.reg).
  1009.  
  1010.      0.08      Fixed occasional after-save guru.
  1011.      Alpha     Supports uncompressed IFF24's now (I think).
  1012.      3/26/91   ^C will break a rendering in progress (hurray!).
  1013.                Clean Hame ham mode support!
  1014.  
  1015.      0.07      Does not use Hame color register 0 at all.
  1016.      Alpha     Hame ham support added, but looks terrible.
  1017.      3/26/91
  1018.  
  1019.      0.06      Makes FORM length even for DPaint's mangled-IFF bug.
  1020.      Alpha     Only deletes Convert temp file AFTER image is rendered.
  1021.      3/24/91   Initial HAM rendering -- slow, no Hame.
  1022.  
  1023.      0.05      Fixed all-black-horizontal-line-turning-off-Hame problem.
  1024.      Alpha     Allows Unix-style wildcard input pattern.
  1025.      3/23/91   Added Kermit's kludge to call BB's Convert on input files.
  1026.                Color rendering 1x-3x faster non-dithered.
  1027.  
  1028.      0.04      Color rendering about 4x faster non-dithered.
  1029.      Alpha
  1030.      3/22/91
  1031.  
  1032.      0.03      Initial color rendering -- VERY slow.
  1033.      Alpha
  1034.      3/21/91
  1035.  
  1036.      0.02      Initial REAL greyscale rendering.
  1037.      Alpha     Added option to save resulting image.
  1038.      3/20/91
  1039.  
  1040.      0.01      Experimental greyscale rendering.
  1041.      Alpha
  1042.      3/19/91
  1043.  
  1044.